Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do not merge] Work in progress changes for hot-reloading #1825

Open
wants to merge 1 commit into
base: edge
Choose a base branch
from

Conversation

Tylario
Copy link

@Tylario Tylario commented Oct 20, 2024

Problem

Hot reloading isn't working

Attempted solutions

Added --watch command to the script executed in the Dockerfile, but running it. I also mounted a docker volume against the local application source folder so that modified files could be seen in the docker image.

Blockers

I encounter node-gyp binding errors on the NPM install that I’m unable to resolve within the container (even though running webpack with --watch works fine locally).

When I SSH into the Docker container, I don't see the directories in the /app working directory even though as far as I can tell, they are being copied there from the Dockerfile.

To test this out

run this command

docker compose --profile postgres -f docker-compose.yml -f docker-compose.dev.yml up --build

and then in client-admin

npm run build:watch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant